/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.wms.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import com.jeeplus.modules.infor.entity.Goods;

/**
 * 物料详情Entity
 * @author sld
 * @version 2017-12-05
 */
public class MaterialParticulars extends DataEntity<MaterialParticulars> {
	
	private static final long serialVersionUID = 1L;
	private StorageInform storageInform;		// 入库通知 父类
	private int idx;
	private String materialCode;		// 物料编码
	private Goods materialName;		// 物料名称
	private String materialSpecification;		// 物料规格
	private String forecast;		// 预期量
	private String warehouse;		// 提货仓库
	private Date dates;		// 生产日期
	private Date validity;		// 有效期至
	private String packingUnit;		// 包装单位
	private String packing;		// 物料类型
	private String state;		// 状态
	private String quantitiesReceived;		// 已接收量
	private String roughWeight;		// 毛重(吨)
	private String volume;		// 体积(M3)
	private String weight; //净重
	private String goodsNumber;		// 交货单号
	private String batch;		// 批次

	public String getPacking() {
		return packing;
	}

	public void setPacking(String packing) {
		this.packing = packing;
	}

	public MaterialParticulars() {
		super();
	}

	public MaterialParticulars(String id){
		super(id);
	}

	public MaterialParticulars(StorageInform storageInform){
		this.storageInform = storageInform;
	}

	public StorageInform getStorageInform() {
		return storageInform;
	}

	public void setStorageInform(StorageInform storageInform) {
		this.storageInform = storageInform;
	}
	public int getIdx() {
		return idx;
	}

	public void setIdx(int idx) {
		this.idx = idx;
	}
	@ExcelField(title="物料编码", align=2, sort=7)
	public String getMaterialCode() {
		return materialCode;
	}

	public void setMaterialCode(String materialCode) {
		this.materialCode = materialCode;
	}
	
	@ExcelField(title="物料名称", align=2, sort=8)
	public Goods getMaterialName() {
		return materialName;
	}

	public void setMaterialName(Goods materialName) {
		this.materialName = materialName;
	}
	
	@ExcelField(title="物料规格", align=2, sort=9)
	public String getMaterialSpecification() {
		return materialSpecification;
	}

	public void setMaterialSpecification(String materialSpecification) {
		this.materialSpecification = materialSpecification;
	}
	
	@ExcelField(title="预期量", align=2, sort=10)
	public String getForecast() {
		return forecast;
	}

	public void setForecast(String forecast) {
		this.forecast = forecast;
	}
	
	@ExcelField(title="提货仓库", align=2, sort=11)
	public String getWarehouse() {
		return warehouse;
	}

	public void setWarehouse(String warehouse) {
		this.warehouse = warehouse;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="生产日期", align=2, sort=12)
	public Date getDates() {
		return dates;
	}

	public void setDates(Date dates) {
		this.dates = dates;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="有效期至", align=2, sort=13)
	public Date getValidity() {
		return validity;
	}

	public void setValidity(Date validity) {
		this.validity = validity;
	}
	
	@ExcelField(title="包装单位", align=2, sort=14)
	public String getPackingUnit() {
		return packingUnit;
	}

	public void setPackingUnit(String packingUnit) {
		this.packingUnit = packingUnit;
	}
	
	@ExcelField(title="状态", align=2, sort=15)
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	@ExcelField(title="接收量", align=2, sort=16)
	public String getQuantitiesReceived() {
		return quantitiesReceived;
	}

	public void setQuantitiesReceived(String quantitiesReceived) {
		this.quantitiesReceived = quantitiesReceived;
	}
	
	@ExcelField(title="毛重(吨)", align=2, sort=17)
	public String getRoughWeight() {
		return roughWeight;
	}

	public void setRoughWeight(String roughWeight) {
		this.roughWeight = roughWeight;
	}
	
	@ExcelField(title="体积(M3)", align=2, sort=18)
	public String getVolume() {
		return volume;
	}

	public void setVolume(String volume) {
		this.volume = volume;
	}

	@ExcelField(title = "净重",align = 2,sort = 19)
	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	@ExcelField(title="提货单号", align=2, sort=19)
	public String getGoodsNumber() {
		return goodsNumber;
	}

	public void setGoodsNumber(String goodsNumber) {
		this.goodsNumber = goodsNumber;
	}
	
	@ExcelField(title="批次", align=2, sort=20)
	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}
	
}